package beans;

import entities.Iskayit;
import controllers.IskayitFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ManagedBean(name = "iskayitController")
@ViewScoped
public class IskayitController extends AbstractController<Iskayit> implements Serializable {

    @EJB
    private IskayitFacade ejbFacade;

    public IskayitController() {
        super(Iskayit.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
